package com.study.model.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the pur_inquiry_details database table.
 * 
 */
@Entity
@Table(name="pur_inquiry_details")
@NamedQuery(name="PurInquiryDetail.findAll", query="SELECT p FROM PurInquiryDetail p")
public class PurInquiryDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="inquirydetail_id")
	private String inquirydetailId;

	@Column(name="contax_money")
	private BigDecimal contaxMoney;

	@Column(name="contax_price")
	private BigDecimal contaxPrice;

	private BigDecimal money;

	private BigDecimal price;

	@Column(name="pro_id")
	private String proId;

	private String remarks;

	@Column(name="tax_money")
	private BigDecimal taxMoney;

	private BigDecimal taxrate;

	//bi-directional many-to-one association to PurInquiry
	@ManyToOne
	@JoinColumn(name="inquiry_id")
	private PurInquiry purInquiry;

	public PurInquiryDetail() {
	}

	public String getInquirydetailId() {
		return this.inquirydetailId;
	}

	public void setInquirydetailId(String inquirydetailId) {
		this.inquirydetailId = inquirydetailId;
	}

	public BigDecimal getContaxMoney() {
		return this.contaxMoney;
	}

	public void setContaxMoney(BigDecimal contaxMoney) {
		this.contaxMoney = contaxMoney;
	}

	public BigDecimal getContaxPrice() {
		return this.contaxPrice;
	}

	public void setContaxPrice(BigDecimal contaxPrice) {
		this.contaxPrice = contaxPrice;
	}

	public BigDecimal getMoney() {
		return this.money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public BigDecimal getPrice() {
		return this.price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getProId() {
		return this.proId;
	}

	public void setProId(String proId) {
		this.proId = proId;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public BigDecimal getTaxMoney() {
		return this.taxMoney;
	}

	public void setTaxMoney(BigDecimal taxMoney) {
		this.taxMoney = taxMoney;
	}

	public BigDecimal getTaxrate() {
		return this.taxrate;
	}

	public void setTaxrate(BigDecimal taxrate) {
		this.taxrate = taxrate;
	}

	public PurInquiry getPurInquiry() {
		return this.purInquiry;
	}

	public void setPurInquiry(PurInquiry purInquiry) {
		this.purInquiry = purInquiry;
	}

}